<?php
/**
 * 会员关联会员分组
 * @author tangbl
 *
 */
class MemberGroupViewModel extends ViewModel{
	
	public $viewFields = array(
		 
		'Member'=>array(
			'_type'=>'LEFT',
			'*',
			'_as'=>'a'
		),
		
		'Memgroup'=>array(
				'groupid',
				'addtime'=>'time',
				'_as'=>'b',
			'_on'=>'a.id=b.userid'
		)
			
	 );
}
?>